#pragma once

#include "ScriptCompiler/AST/ExpressionNode.h"
#include "ScriptCompiler/AST/SentenceNode.h"

class CScriptToken;

class CBreakNode : public CSentenceNode
{

public:
    CBreakNode(std::weak_ptr<CScriptFileContext> InFile)
        : CSentenceNode(InFile,EASTNodeType::Break)
    {
    }

    //break
    std::shared_ptr<CScriptToken> Break;

    virtual void DebugPrint(int32_t InDepth) override;

    virtual std::shared_ptr<CScriptToken> GetFirstToken() override;
};